package com.hgyc.mom.base.printData;


import com.hgyc.mom.common.annotation.PrintDataTemplate;
import com.hgyc.mom.common.annotation.PrintFieldProperty;
import com.hgyc.mom.common.print.PrintTemplateBase;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 物料打印数据模板
 * @author fwj
 * @since 2024/6/28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@PrintDataTemplate(name = "物料标签", value= "MaterialLabel")
public class MaterialTemplate extends PrintTemplateBase {

    @PrintFieldProperty(name = "物料ID")
    private Long materialId;

    @PrintFieldProperty(name = "物料编码")
    private String materialCode;

    /**
     * 序列号
     */
    @PrintFieldProperty(name = "序列号")
    private String relId;

    /**
     * 批次号
     */
    @PrintFieldProperty(name = "批次号")
    private String lotNo;

    @PrintFieldProperty(name = "生产日期")
    private String productDate;

    /**
     * 物料名称
     */
    @PrintFieldProperty(name = "物料名称")
    private String materialName;

    @PrintFieldProperty(name = "规格型号")
    private String materialSpec;

    @PrintFieldProperty(name = "数量")
    private Integer qty;

}
